.class public Lcom/burstly/lib/component/networkcomponent/HierarchyAwareLayout;
.super Landroid/widget/FrameLayout;
.source "HierarchyAwareLayout.java"


# static fields
.field private static final LOG:Lcom/burstly/lib/util/LoggerExt;

.field private static final TAG:Ljava/lang/String;


# instance fields
.field private mAdView:Landroid/view/View;

.field private final mAdaptor:Lcom/burstly/lib/component/IBurstlyAdaptor;

.field private mDebugView:Landroid/view/View;

.field private mGestureDetector:Lcom/burstly/lib/component/networkcomponent/DebugGestureDetector;

.field private mInAnimation:Landroid/view/animation/Animation;

.field private mIsDebugGestureOn:Z

.field private mOutAnimation:Landroid/view/animation/Animation;

.field private mShowSwipeAnimation:Z

.field private mView:Landroid/view/View;


# direct methods
.method static constructor <clinit>()V
    .locals 1

    .prologue
    .line 40
    invoke-static {}, Lcom/burstly/lib/util/LoggerExt;->getInstance()Lcom/burstly/lib/util/LoggerExt;

    move-result-object v0

    sput-object v0, Lcom/burstly/lib/component/networkcomponent/HierarchyAwareLayout;->LOG:Lcom/burstly/lib/util/LoggerExt;

    .line 45
    const-class v0, Lcom/burstly/lib/component/networkcomponent/HierarchyAwareLayout;

    invoke-virtual {v0}, Ljava/lang/Class;->getSimpleName()Ljava/lang/String;

    move-result-object v0

    sput-object v0, Lcom/burstly/lib/component/networkcomponent/HierarchyAwareLayout;->TAG:Ljava/lang/String;

    return-void
.end method

.method public constructor <init>(Landroid/content/Context;Landroid/view/View;Lcom/burstly/lib/component/IBurstlyAdaptor;)V
    .locals 1
    .parameter "context"
    .parameter "view"
    .parameter "adaptor"

    .prologue
    .line 97
    invoke-direct {p0, p1}, Landroid/widget/FrameLayout;-><init>(Landroid/content/Context;)V

    .line 57
    const/4 v0, 0x1

    iput-boolean v0, p0, Lcom/burstly/lib/component/networkcomponent/HierarchyAwareLayout;->mShowSwipeAnimation:Z

    .line 98
    iput-object p3, p0, Lcom/burstly/lib/component/networkcomponent/HierarchyAwareLayout;->mAdaptor:Lcom/burstly/lib/component/IBurstlyAdaptor;

    .line 99
    iput-object p2, p0, Lcom/burstly/lib/component/networkcomponent/HierarchyAwareLayout;->mView:Landroid/view/View;

    .line 100
    invoke-virtual {p0, p2}, Lcom/burstly/lib/component/networkcomponent/HierarchyAwareLayout;->addView(Landroid/view/View;)V

    .line 101
    return-void
.end method

.method private initDebugGesture()V
    .locals 3

    .prologue
    .line 107
    new-instance v0, Lcom/burstly/lib/component/networkcomponent/DebugGestureListener;

    invoke-direct {v0, p0}, Lcom/burstly/lib/component/networkcomponent/DebugGestureListener;-><init>(Lcom/burstly/lib/component/networkcomponent/HierarchyAwareLayout;)V

    .line 108
    .local v0, debugGestureListener:Lcom/burstly/lib/component/networkcomponent/DebugGestureListener;
    new-instance v1, Lcom/burstly/lib/component/networkcomponent/DebugGestureDetector;

    invoke-virtual {p0}, Lcom/burstly/lib/component/networkcomponent/HierarchyAwareLayout;->getContext()Landroid/content/Context;

    move-result-object v2

    invoke-direct {v1, v2, v0}, Lcom/burstly/lib/component/networkcomponent/DebugGestureDetector;-><init>(Landroid/content/Context;Lcom/burstly/lib/component/networkcomponent/DebugGestureListener;)V

    iput-object v1, p0, Lcom/burstly/lib/component/networkcomponent/HierarchyAwareLayout;->mGestureDetector:Lcom/burstly/lib/component/networkcomponent/DebugGestureDetector;

    .line 109
    iget-object v1, p0, Lcom/burstly/lib/component/networkcomponent/HierarchyAwareLayout;->mGestureDetector:Lcom/burstly/lib/component/networkcomponent/DebugGestureDetector;

    invoke-virtual {v0, v1}, Lcom/burstly/lib/component/networkcomponent/DebugGestureListener;->setGestureDetector(Landroid/view/GestureDetector;)V

    .line 110
    return-void
.end method


# virtual methods
.method public addDebugView(Landroid/view/View;)V
    .locals 1
    .parameter "view"

    .prologue
    .line 119
    iput-object p1, p0, Lcom/burstly/lib/component/networkcomponent/HierarchyAwareLayout;->mDebugView:Landroid/view/View;

    .line 120
    const/4 v0, 0x0

    invoke-virtual {p0, p1, v0}, Lcom/burstly/lib/component/networkcomponent/HierarchyAwareLayout;->addView(Landroid/view/View;I)V

    .line 121
    return-void
.end method

.method protected bridge synthetic generateDefaultLayoutParams()Landroid/view/ViewGroup$LayoutParams;
    .locals 1

    .prologue
    .line 36
    invoke-virtual {p0}, Lcom/burstly/lib/component/networkcomponent/HierarchyAwareLayout;->generateDefaultLayoutParams()Landroid/widget/FrameLayout$LayoutParams;

    move-result-object v0

    return-object v0
.end method

.method protected generateDefaultLayoutParams()Landroid/widget/FrameLayout$LayoutParams;
    .locals 3

    .prologue
    const/4 v2, -0x2

    .line 163
    new-instance v0, Landroid/widget/FrameLayout$LayoutParams;

    const/16 v1, 0x11

    invoke-direct {v0, v2, v2, v1}, Landroid/widget/FrameLayout$LayoutParams;-><init>(III)V

    return-object v0
.end method

.method public getInAnimation()Landroid/view/animation/Animation;
    .locals 2

    .prologue
    .line 137
    iget-object v0, p0, Lcom/burstly/lib/component/networkcomponent/HierarchyAwareLayout;->mInAnimation:Landroid/view/animation/Animation;

    if-nez v0, :cond_0

    .line 138
    invoke-virtual {p0}, Lcom/burstly/lib/component/networkcomponent/HierarchyAwareLayout;->getContext()Landroid/content/Context;

    move-result-object v0

    const/4 v1, 0x1

    invoke-static {v0, v1}, Landroid/view/animation/AnimationUtils;->makeInAnimation(Landroid/content/Context;Z)Landroid/view/animation/Animation;

    move-result-object v0

    iput-object v0, p0, Lcom/burstly/lib/component/networkcomponent/HierarchyAwareLayout;->mInAnimation:Landroid/view/animation/Animation;

    .line 140
    :cond_0
    iget-object v0, p0, Lcom/burstly/lib/component/networkcomponent/HierarchyAwareLayout;->mInAnimation:Landroid/view/animation/Animation;

    return-object v0
.end method

.method public getOutAnimation()Landroid/view/animation/Animation;
    .locals 2

    .prologue
    .line 144
    iget-object v0, p0, Lcom/burstly/lib/component/networkcomponent/HierarchyAwareLayout;->mOutAnimation:Landroid/view/animation/Animation;

    if-nez v0, :cond_0

    .line 145
    invoke-virtual {p0}, Lcom/burstly/lib/component/networkcomponent/HierarchyAwareLayout;->getContext()Landroid/content/Context;

    move-result-object v0

    const/4 v1, 0x1

    invoke-static {v0, v1}, Landroid/view/animation/AnimationUtils;->makeOutAnimation(Landroid/content/Context;Z)Landroid/view/animation/Animation;

    move-result-object v0

    iput-object v0, p0, Lcom/burstly/lib/component/networkcomponent/HierarchyAwareLayout;->mOutAnimation:Landroid/view/animation/Animation;

    .line 147
    :cond_0
    iget-object v0, p0, Lcom/burstly/lib/component/networkcomponent/HierarchyAwareLayout;->mOutAnimation:Landroid/view/animation/Animation;

    return-object v0
.end method

.method public isShowSwipeAnimation()Z
    .locals 1

    .prologue
    .line 283
    iget-boolean v0, p0, Lcom/burstly/lib/component/networkcomponent/HierarchyAwareLayout;->mShowSwipeAnimation:Z

    return v0
.end method

.method protected onAttachedToWindow()V
    .locals 1

    .prologue
    .line 182
    invoke-super {p0}, Landroid/widget/FrameLayout;->onAttachedToWindow()V

    .line 183
    iget-object v0, p0, Lcom/burstly/lib/component/networkcomponent/HierarchyAwareLayout;->mAdaptor:Lcom/burstly/lib/component/IBurstlyAdaptor;

    invoke-interface {v0}, Lcom/burstly/lib/component/IBurstlyAdaptor;->startViewSession()V

    .line 184
    return-void
.end method

.method protected onDetachedFromWindow()V
    .locals 1

    .prologue
    .line 176
    invoke-super {p0}, Landroid/widget/FrameLayout;->onDetachedFromWindow()V

    .line 177
    iget-object v0, p0, Lcom/burstly/lib/component/networkcomponent/HierarchyAwareLayout;->mAdaptor:Lcom/burstly/lib/component/IBurstlyAdaptor;

    invoke-interface {v0}, Lcom/burstly/lib/component/IBurstlyAdaptor;->endViewSession()V

    .line 178
    return-void
.end method

.method public onInterceptTouchEvent(Landroid/view/MotionEvent;)Z
    .locals 5
    .parameter "event"

    .prologue
    .line 200
    :try_start_0
    iget-boolean v1, p0, Lcom/burstly/lib/component/networkcomponent/HierarchyAwareLayout;->mIsDebugGestureOn:Z

    if-nez v1, :cond_0

    .line 201
    invoke-super {p0, p1}, Landroid/widget/FrameLayout;->onInterceptTouchEvent(Landroid/view/MotionEvent;)Z

    move-result v1

    .line 209
    :goto_0
    return v1

    .line 203
    :cond_0
    invoke-super {p0, p1}, Landroid/widget/FrameLayout;->onInterceptTouchEvent(Landroid/view/MotionEvent;)Z

    .line 204
    iget-object v1, p0, Lcom/burstly/lib/component/networkcomponent/HierarchyAwareLayout;->mGestureDetector:Lcom/burstly/lib/component/networkcomponent/DebugGestureDetector;

    invoke-virtual {v1, p1}, Lcom/burstly/lib/component/networkcomponent/DebugGestureDetector;->onInterceptTouch(Landroid/view/MotionEvent;)Z
    :try_end_0
    .catch Ljava/lang/Exception; {:try_start_0 .. :try_end_0} :catch_0

    move-result v1

    goto :goto_0

    .line 206
    :catch_0
    move-exception v0

    .line 207
    .local v0, exception:Ljava/lang/Exception;
    sget-object v1, Lcom/burstly/lib/component/networkcomponent/HierarchyAwareLayout;->LOG:Lcom/burstly/lib/util/LoggerExt;

    sget-object v2, Lcom/burstly/lib/component/networkcomponent/HierarchyAwareLayout;->TAG:Ljava/lang/String;

    invoke-static {v0}, Landroid/util/Log;->getStackTraceString(Ljava/lang/Throwable;)Ljava/lang/String;

    move-result-object v3

    const/4 v4, 0x0

    new-array v4, v4, [Ljava/lang/Object;

    invoke-virtual {v1, v2, v3, v4}, Lcom/burstly/lib/util/LoggerExt;->logWarning(Ljava/lang/String;Ljava/lang/String;[Ljava/lang/Object;)Ljava/lang/String;

    .line 209
    const/4 v1, 0x1

    goto :goto_0
.end method

.method public onKeyDown(ILandroid/view/KeyEvent;)Z
    .locals 5
    .parameter "keyCode"
    .parameter "event"

    .prologue
    .line 230
    :try_start_0
    invoke-super {p0, p1, p2}, Landroid/widget/FrameLayout;->onKeyDown(ILandroid/view/KeyEvent;)Z
    :try_end_0
    .catch Ljava/lang/Exception; {:try_start_0 .. :try_end_0} :catch_0

    move-result v1

    .line 235
    :goto_0
    return v1

    .line 232
    :catch_0
    move-exception v0

    .line 233
    .local v0, exception:Ljava/lang/Exception;
    sget-object v1, Lcom/burstly/lib/component/networkcomponent/HierarchyAwareLayout;->LOG:Lcom/burstly/lib/util/LoggerExt;

    sget-object v2, Lcom/burstly/lib/component/networkcomponent/HierarchyAwareLayout;->TAG:Ljava/lang/String;

    invoke-static {v0}, Landroid/util/Log;->getStackTraceString(Ljava/lang/Throwable;)Ljava/lang/String;

    move-result-object v3

    const/4 v4, 0x0

    new-array v4, v4, [Ljava/lang/Object;

    invoke-virtual {v1, v2, v3, v4}, Lcom/burstly/lib/util/LoggerExt;->logWarning(Ljava/lang/String;Ljava/lang/String;[Ljava/lang/Object;)Ljava/lang/String;

    .line 235
    const/4 v1, 0x1

    goto :goto_0
.end method

.method public onKeyMultiple(IILandroid/view/KeyEvent;)Z
    .locals 5
    .parameter "keyCode"
    .parameter "repeatCount"
    .parameter "event"

    .prologue
    .line 241
    :try_start_0
    invoke-super {p0, p1, p2, p3}, Landroid/widget/FrameLayout;->onKeyMultiple(IILandroid/view/KeyEvent;)Z
    :try_end_0
    .catch Ljava/lang/Exception; {:try_start_0 .. :try_end_0} :catch_0

    move-result v1

    .line 246
    :goto_0
    return v1

    .line 243
    :catch_0
    move-exception v0

    .line 244
    .local v0, exception:Ljava/lang/Exception;
    sget-object v1, Lcom/burstly/lib/component/networkcomponent/HierarchyAwareLayout;->LOG:Lcom/burstly/lib/util/LoggerExt;

    sget-object v2, Lcom/burstly/lib/component/networkcomponent/HierarchyAwareLayout;->TAG:Ljava/lang/String;

    invoke-static {v0}, Landroid/util/Log;->getStackTraceString(Ljava/lang/Throwable;)Ljava/lang/String;

    move-result-object v3

    const/4 v4, 0x0

    new-array v4, v4, [Ljava/lang/Object;

    invoke-virtual {v1, v2, v3, v4}, Lcom/burstly/lib/util/LoggerExt;->logWarning(Ljava/lang/String;Ljava/lang/String;[Ljava/lang/Object;)Ljava/lang/String;

    .line 246
    const/4 v1, 0x1

    goto :goto_0
.end method

.method public onKeyPreIme(ILandroid/view/KeyEvent;)Z
    .locals 5
    .parameter "keyCode"
    .parameter "event"

    .prologue
    .line 252
    :try_start_0
    invoke-super {p0, p1, p2}, Landroid/widget/FrameLayout;->onKeyPreIme(ILandroid/view/KeyEvent;)Z
    :try_end_0
    .catch Ljava/lang/Exception; {:try_start_0 .. :try_end_0} :catch_0

    move-result v1

    .line 257
    :goto_0
    return v1

    .line 254
    :catch_0
    move-exception v0

    .line 255
    .local v0, exception:Ljava/lang/Exception;
    sget-object v1, Lcom/burstly/lib/component/networkcomponent/HierarchyAwareLayout;->LOG:Lcom/burstly/lib/util/LoggerExt;

    sget-object v2, Lcom/burstly/lib/component/networkcomponent/HierarchyAwareLayout;->TAG:Ljava/lang/String;

    invoke-static {v0}, Landroid/util/Log;->getStackTraceString(Ljava/lang/Throwable;)Ljava/lang/String;

    move-result-object v3

    const/4 v4, 0x0

    new-array v4, v4, [Ljava/lang/Object;

    invoke-virtual {v1, v2, v3, v4}, Lcom/burstly/lib/util/LoggerExt;->logWarning(Ljava/lang/String;Ljava/lang/String;[Ljava/lang/Object;)Ljava/lang/String;

    .line 257
    const/4 v1, 0x1

    goto :goto_0
.end method

.method public onKeyShortcut(ILandroid/view/KeyEvent;)Z
    .locals 5
    .parameter "keyCode"
    .parameter "event"

    .prologue
    .line 274
    :try_start_0
    invoke-super {p0, p1, p2}, Landroid/widget/FrameLayout;->onKeyShortcut(ILandroid/view/KeyEvent;)Z
    :try_end_0
    .catch Ljava/lang/Exception; {:try_start_0 .. :try_end_0} :catch_0

    move-result v1

    .line 279
    :goto_0
    return v1

    .line 276
    :catch_0
    move-exception v0

    .line 277
    .local v0, exception:Ljava/lang/Exception;
    sget-object v1, Lcom/burstly/lib/component/networkcomponent/HierarchyAwareLayout;->LOG:Lcom/burstly/lib/util/LoggerExt;

    sget-object v2, Lcom/burstly/lib/component/networkcomponent/HierarchyAwareLayout;->TAG:Ljava/lang/String;

    invoke-static {v0}, Landroid/util/Log;->getStackTraceString(Ljava/lang/Throwable;)Ljava/lang/String;

    move-result-object v3

    const/4 v4, 0x0

    new-array v4, v4, [Ljava/lang/Object;

    invoke-virtual {v1, v2, v3, v4}, Lcom/burstly/lib/util/LoggerExt;->logWarning(Ljava/lang/String;Ljava/lang/String;[Ljava/lang/Object;)Ljava/lang/String;

    .line 279
    const/4 v1, 0x1

    goto :goto_0
.end method

.method public onKeyUp(ILandroid/view/KeyEvent;)Z
    .locals 5
    .parameter "keyCode"
    .parameter "event"

    .prologue
    .line 263
    :try_start_0
    invoke-super {p0, p1, p2}, Landroid/widget/FrameLayout;->onKeyUp(ILandroid/view/KeyEvent;)Z
    :try_end_0
    .catch Ljava/lang/Exception; {:try_start_0 .. :try_end_0} :catch_0

    move-result v1

    .line 268
    :goto_0
    return v1

    .line 265
    :catch_0
    move-exception v0

    .line 266
    .local v0, exception:Ljava/lang/Exception;
    sget-object v1, Lcom/burstly/lib/component/networkcomponent/HierarchyAwareLayout;->LOG:Lcom/burstly/lib/util/LoggerExt;

    sget-object v2, Lcom/burstly/lib/component/networkcomponent/HierarchyAwareLayout;->TAG:Ljava/lang/String;

    invoke-static {v0}, Landroid/util/Log;->getStackTraceString(Ljava/lang/Throwable;)Ljava/lang/String;

    move-result-object v3

    const/4 v4, 0x0

    new-array v4, v4, [Ljava/lang/Object;

    invoke-virtual {v1, v2, v3, v4}, Lcom/burstly/lib/util/LoggerExt;->logWarning(Ljava/lang/String;Ljava/lang/String;[Ljava/lang/Object;)Ljava/lang/String;

    .line 268
    const/4 v1, 0x1

    goto :goto_0
.end method

.method protected onLayout(ZIIII)V
    .locals 6
    .parameter "changed"
    .parameter "left"
    .parameter "top"
    .parameter "right"
    .parameter "bottom"

    .prologue
    .line 169
    sget-object v0, Lcom/burstly/lib/component/networkcomponent/HierarchyAwareLayout;->LOG:Lcom/burstly/lib/util/LoggerExt;

    const-string v1, "HierarchyAwareLayout"

    const-string v2, "Adding {2} view (w: {0}, h: {1}) to BurstlyLayout"

    const/4 v3, 0x3

    new-array v3, v3, [Ljava/lang/Object;

    const/4 v4, 0x0

    invoke-static {p4}, Ljava/lang/Integer;->valueOf(I)Ljava/lang/Integer;

    move-result-object v5

    aput-object v5, v3, v4

    const/4 v4, 0x1

    invoke-static {p5}, Ljava/lang/Integer;->valueOf(I)Ljava/lang/Integer;

    move-result-object v5

    aput-object v5, v3, v4

    const/4 v4, 0x2

    iget-object v5, p0, Lcom/burstly/lib/component/networkcomponent/HierarchyAwareLayout;->mAdaptor:Lcom/burstly/lib/component/IBurstlyAdaptor;

    aput-object v5, v3, v4

    invoke-virtual {v0, v1, v2, v3}, Lcom/burstly/lib/util/LoggerExt;->logDebug(Ljava/lang/String;Ljava/lang/String;[Ljava/lang/Object;)Ljava/lang/String;

    .line 171
    invoke-super/range {p0 .. p5}, Landroid/widget/FrameLayout;->onLayout(ZIIII)V

    .line 172
    return-void
.end method

.method public onTouchEvent(Landroid/view/MotionEvent;)Z
    .locals 9
    .parameter "event"

    .prologue
    const/4 v2, 0x1

    const/4 v1, 0x0

    .line 215
    :try_start_0
    sget-object v3, Lcom/burstly/lib/component/networkcomponent/HierarchyAwareLayout;->LOG:Lcom/burstly/lib/util/LoggerExt;

    sget-object v4, Lcom/burstly/lib/component/networkcomponent/HierarchyAwareLayout;->TAG:Ljava/lang/String;

    const-string v5, "onTouchEvent {0}"

    const/4 v6, 0x1

    new-array v6, v6, [Ljava/lang/Object;

    const/4 v7, 0x0

    invoke-virtual {p1}, Landroid/view/MotionEvent;->getAction()I

    move-result v8

    invoke-static {v8}, Ljava/lang/Integer;->valueOf(I)Ljava/lang/Integer;

    move-result-object v8

    aput-object v8, v6, v7

    invoke-virtual {v3, v4, v5, v6}, Lcom/burstly/lib/util/LoggerExt;->logDebug(Ljava/lang/String;Ljava/lang/String;[Ljava/lang/Object;)Ljava/lang/String;

    .line 216
    iget-boolean v3, p0, Lcom/burstly/lib/component/networkcomponent/HierarchyAwareLayout;->mIsDebugGestureOn:Z

    if-nez v3, :cond_1

    .line 217
    invoke-super {p0, p1}, Landroid/widget/FrameLayout;->onTouchEvent(Landroid/view/MotionEvent;)Z

    move-result v1

    .line 224
    :cond_0
    :goto_0
    return v1

    .line 219
    :cond_1
    iget-object v3, p0, Lcom/burstly/lib/component/networkcomponent/HierarchyAwareLayout;->mGestureDetector:Lcom/burstly/lib/component/networkcomponent/DebugGestureDetector;

    invoke-virtual {v3, p1}, Lcom/burstly/lib/component/networkcomponent/DebugGestureDetector;->onTouchEvent(Landroid/view/MotionEvent;)Z

    move-result v3

    if-nez v3, :cond_2

    invoke-super {p0, p1}, Landroid/widget/FrameLayout;->onTouchEvent(Landroid/view/MotionEvent;)Z
    :try_end_0
    .catch Ljava/lang/Exception; {:try_start_0 .. :try_end_0} :catch_0

    move-result v3

    if-eqz v3, :cond_0

    :cond_2
    move v1, v2

    goto :goto_0

    .line 221
    :catch_0
    move-exception v0

    .line 222
    .local v0, exception:Ljava/lang/Exception;
    sget-object v3, Lcom/burstly/lib/component/networkcomponent/HierarchyAwareLayout;->LOG:Lcom/burstly/lib/util/LoggerExt;

    sget-object v4, Lcom/burstly/lib/component/networkcomponent/HierarchyAwareLayout;->TAG:Ljava/lang/String;

    invoke-static {v0}, Landroid/util/Log;->getStackTraceString(Ljava/lang/Throwable;)Ljava/lang/String;

    move-result-object v5

    new-array v1, v1, [Ljava/lang/Object;

    invoke-virtual {v3, v4, v5, v1}, Lcom/burstly/lib/util/LoggerExt;->logWarning(Ljava/lang/String;Ljava/lang/String;[Ljava/lang/Object;)Ljava/lang/String;

    move v1, v2

    .line 224
    goto :goto_0
.end method

.method public onTrackballEvent(Landroid/view/MotionEvent;)Z
    .locals 5
    .parameter "event"

    .prologue
    .line 189
    :try_start_0
    invoke-super {p0, p1}, Landroid/widget/FrameLayout;->onTrackballEvent(Landroid/view/MotionEvent;)Z
    :try_end_0
    .catch Ljava/lang/Exception; {:try_start_0 .. :try_end_0} :catch_0

    move-result v1

    .line 194
    :goto_0
    return v1

    .line 191
    :catch_0
    move-exception v0

    .line 192
    .local v0, exception:Ljava/lang/Exception;
    sget-object v1, Lcom/burstly/lib/component/networkcomponent/HierarchyAwareLayout;->LOG:Lcom/burstly/lib/util/LoggerExt;

    sget-object v2, Lcom/burstly/lib/component/networkcomponent/HierarchyAwareLayout;->TAG:Ljava/lang/String;

    invoke-static {v0}, Landroid/util/Log;->getStackTraceString(Ljava/lang/Throwable;)Ljava/lang/String;

    move-result-object v3

    const/4 v4, 0x0

    new-array v4, v4, [Ljava/lang/Object;

    invoke-virtual {v1, v2, v3, v4}, Lcom/burstly/lib/util/LoggerExt;->logWarning(Ljava/lang/String;Ljava/lang/String;[Ljava/lang/Object;)Ljava/lang/String;

    .line 194
    const/4 v1, 0x1

    goto :goto_0
.end method

.method public setIsDebugGestureOn(Z)V
    .locals 0
    .parameter "isDebugGestureOn"

    .prologue
    .line 291
    iput-boolean p1, p0, Lcom/burstly/lib/component/networkcomponent/HierarchyAwareLayout;->mIsDebugGestureOn:Z

    .line 292
    if-eqz p1, :cond_0

    .line 293
    invoke-direct {p0}, Lcom/burstly/lib/component/networkcomponent/HierarchyAwareLayout;->initDebugGesture()V

    .line 295
    :cond_0
    return-void
.end method

.method public setShowSwipeAnimation(Z)V
    .locals 0
    .parameter "showSwipeAnimation"

    .prologue
    .line 287
    iput-boolean p1, p0, Lcom/burstly/lib/component/networkcomponent/HierarchyAwareLayout;->mShowSwipeAnimation:Z

    .line 288
    return-void
.end method

.method public setTag(Ljava/lang/Object;)V
    .locals 1
    .parameter "tag"

    .prologue
    .line 114
    invoke-super {p0, p1}, Landroid/widget/FrameLayout;->setTag(Ljava/lang/Object;)V

    .line 115
    iget-object v0, p0, Lcom/burstly/lib/component/networkcomponent/HierarchyAwareLayout;->mView:Landroid/view/View;

    invoke-virtual {v0, p1}, Landroid/view/View;->setTag(Ljava/lang/Object;)V

    .line 116
    return-void
.end method

.method public showAdView()V
    .locals 2

    .prologue
    .line 151
    iget-object v0, p0, Lcom/burstly/lib/component/networkcomponent/HierarchyAwareLayout;->mAdView:Landroid/view/View;

    if-eqz v0, :cond_1

    iget-object v0, p0, Lcom/burstly/lib/component/networkcomponent/HierarchyAwareLayout;->mDebugView:Landroid/view/View;

    if-eqz v0, :cond_1

    .line 152
    iget-boolean v0, p0, Lcom/burstly/lib/component/networkcomponent/HierarchyAwareLayout;->mShowSwipeAnimation:Z

    if-eqz v0, :cond_0

    .line 153
    iget-object v0, p0, Lcom/burstly/lib/component/networkcomponent/HierarchyAwareLayout;->mDebugView:Landroid/view/View;

    invoke-virtual {p0}, Lcom/burstly/lib/component/networkcomponent/HierarchyAwareLayout;->getOutAnimation()Landroid/view/animation/Animation;

    move-result-object v1

    invoke-virtual {v0, v1}, Landroid/view/View;->startAnimation(Landroid/view/animation/Animation;)V

    .line 154
    iget-object v0, p0, Lcom/burstly/lib/component/networkcomponent/HierarchyAwareLayout;->mAdView:Landroid/view/View;

    invoke-virtual {p0}, Lcom/burstly/lib/component/networkcomponent/HierarchyAwareLayout;->getInAnimation()Landroid/view/animation/Animation;

    move-result-object v1

    invoke-virtual {v0, v1}, Landroid/view/View;->startAnimation(Landroid/view/animation/Animation;)V

    .line 156
    :cond_0
    iget-object v0, p0, Lcom/burstly/lib/component/networkcomponent/HierarchyAwareLayout;->mAdView:Landroid/view/View;

    const/4 v1, 0x0

    invoke-virtual {v0, v1}, Landroid/view/View;->setVisibility(I)V

    .line 157
    iget-object v0, p0, Lcom/burstly/lib/component/networkcomponent/HierarchyAwareLayout;->mDebugView:Landroid/view/View;

    const/16 v1, 0x8

    invoke-virtual {v0, v1}, Landroid/view/View;->setVisibility(I)V

    .line 159
    :cond_1
    return-void
.end method

.method public showDebugView()V
    .locals 3

    .prologue
    .line 124
    invoke-virtual {p0}, Lcom/burstly/lib/component/networkcomponent/HierarchyAwareLayout;->getChildCount()I

    move-result v0

    .line 125
    .local v0, childCount:I
    iget-object v1, p0, Lcom/burstly/lib/component/networkcomponent/HierarchyAwareLayout;->mDebugView:Landroid/view/View;

    if-eqz v1, :cond_1

    .line 126
    add-int/lit8 v1, v0, -0x1

    invoke-virtual {p0, v1}, Lcom/burstly/lib/component/networkcomponent/HierarchyAwareLayout;->getChildAt(I)Landroid/view/View;

    move-result-object v1

    iput-object v1, p0, Lcom/burstly/lib/component/networkcomponent/HierarchyAwareLayout;->mAdView:Landroid/view/View;

    .line 127
    iget-boolean v1, p0, Lcom/burstly/lib/component/networkcomponent/HierarchyAwareLayout;->mShowSwipeAnimation:Z

    if-eqz v1, :cond_0

    .line 128
    iget-object v1, p0, Lcom/burstly/lib/component/networkcomponent/HierarchyAwareLayout;->mAdView:Landroid/view/View;

    invoke-virtual {p0}, Lcom/burstly/lib/component/networkcomponent/HierarchyAwareLayout;->getOutAnimation()Landroid/view/animation/Animation;

    move-result-object v2

    invoke-virtual {v1, v2}, Landroid/view/View;->startAnimation(Landroid/view/animation/Animation;)V

    .line 129
    iget-object v1, p0, Lcom/burstly/lib/component/networkcomponent/HierarchyAwareLayout;->mDebugView:Landroid/view/View;

    invoke-virtual {p0}, Lcom/burstly/lib/component/networkcomponent/HierarchyAwareLayout;->getInAnimation()Landroid/view/animation/Animation;

    move-result-object v2

    invoke-virtual {v1, v2}, Landroid/view/View;->startAnimation(Landroid/view/animation/Animation;)V

    .line 131
    :cond_0
    iget-object v1, p0, Lcom/burstly/lib/component/networkcomponent/HierarchyAwareLayout;->mAdView:Landroid/view/View;

    const/16 v2, 0x8

    invoke-virtual {v1, v2}, Landroid/view/View;->setVisibility(I)V

    .line 132
    iget-object v1, p0, Lcom/burstly/lib/component/networkcomponent/HierarchyAwareLayout;->mDebugView:Landroid/view/View;

    const/4 v2, 0x0

    invoke-virtual {v1, v2}, Landroid/view/View;->setVisibility(I)V

    .line 134
    :cond_1
    return-void
.end method

.method public toString()Ljava/lang/String;
    .locals 1

    .prologue
    .line 299
    iget-object v0, p0, Lcom/burstly/lib/component/networkcomponent/HierarchyAwareLayout;->mDebugView:Landroid/view/View;

    if-eqz v0, :cond_0

    iget-object v0, p0, Lcom/burstly/lib/component/networkcomponent/HierarchyAwareLayout;->mDebugView:Landroid/view/View;

    invoke-virtual {v0}, Landroid/view/View;->toString()Ljava/lang/String;

    move-result-object v0

    :goto_0
    return-object v0

    :cond_0
    invoke-super {p0}, Landroid/widget/FrameLayout;->toString()Ljava/lang/String;

    move-result-object v0

    goto :goto_0
.end method
